package com.example.clxy.service;

import com.example.clxy.entity.Sycourse;
import com.example.clxy.result.PageResult;
import com.example.clxy.result.WebRestResult;
import com.example.clxy.result.business.PageResult.SycoursePageResult;
import com.example.clxy.result.business.SycourseResult;

/**
 * @Author liuhaoqi
 * @Date 2020/8/4 17:32
 * @Version 1.0
 */
public interface SycourseService {

    PageResult<SycoursePageResult> getSycourseList(String sycoursecode, String sycoursename, String credit, String sycourseintro, String sycoursetype, String sycourseunit, int page, int pagesize);

    WebRestResult addSycourse(Sycourse sycourse);

    WebRestResult updateSycourse(Sycourse sycourse);

    WebRestResult deleteSycourse(String sycourseid);

    SycourseResult getSycourseById(String sycourseid);
}
